<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>主界面</title>
    <link rel="stylesheet" href="/static/style.css">
</head>
<body>

    <div class="content">
        <h1>欢迎进入管理界面</h1>

        <h2>选择操作</h2>

        <!-- 输入厂商查询 -->
        <form action="/search_by_manufacturer" method="post">
            <label for="manufacturer">输入厂商名:</label>
            <input type="text" name="manufacturer" id="manufacturer" required>
            <button type="submit">查找车辆信息</button>
        </form>

        <h2>或</h2>

        <!-- 输入车辆ID和日期查询 -->
        <form action="/search_by_car_and_date" method="post">
            <label for="car_id">车辆ID:</label>
            <input type="text" name="car_id" id="car_id" required>
            <label for="date">日期:</label>
            <input type="date" name="date" id="date" required>
            <button type="submit">查找该车数据</button>
        </form>
    </div>
</body>
</html>
